package com.ibeeking.found.msg.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName WxmpAutoMessageDo
 * @Description
 * @Author ibeeking
 * @Date 2021-02-05 19:11
 **/
@Data
@TableName("mp_auto_message")
public class MpAutoMessageDO implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * MpId
     */
    @TableField(value = "app_id")
    private String appId;

    /**
     * 名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 事件类型
     */
    @TableField(value = "auto_type")
    private String autoType;

    /**
     * 回复类型
     */
    @TableField(value = "source_type")
    private String sourceType;

    /**
     * 回复内容
     */
    @TableField(value = "union_key")
    private String unionKey;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 备注
     */
    @TableField(value = "publish_status")
    private Integer publishStatus;

    @TableField("create_time")
    private LocalDateTime createTime;
    @TableField("create_by")
    private Long createBy;
    @TableField("modify_time")
    private LocalDateTime modifyTime;
    @TableField("modify_by")
    private Long modifyBy;
}
